/**
 *@filename:t_spi_m_interface.h
 *@brief : SPI gpio driver file
 *+pach  const  function : t_i2c_create.
 */
#ifndef _T_SPI_M_INTERFACE_H
#define _T_SPI_M_INTERFACE_H
#include "t_spi_m.h"
#ifdef __cplusplus
extern "C" {
#endif
extern t_spi_gpio_t gpio_spi ;
 void spi_gpio_cfgin(void *port, uint16_t pin);
 void spi_gpio_cfgout(void *port, uint16_t pin);
 void spi_gpio_t_delay(uint32_t us);
 void spi_gpio_write(void *port, uint16_t pin, uint8_t value);
 uint8_t spi_gpio_read(void *port, uint16_t pin);
 void init_soft_spi(void);
#ifdef __cplusplus
}
#endif

#endif